home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group96a.txt / 000148_icon-group-sender _Mon Jul 1 11:35:03 1996.msg < prev    next >
Internet Message Format  |  1996-09-05  |  956b

  1. Received: by cheltenham.cs.arizona.edu; Mon, 1 Jul 1996 13:30:56 MST
  2. Date: Mon, 1 Jul 1996 11:35:03 -0700
  3. Message-Id: <199607011835.LAA22246@dfw-ix9.ix.netcom.com>
  4. X-Sender: bobalex@popd.ix.netcom.com
  5. X-Mailer: Windows Eudora Pro Version 2.1.2
  6. Mime-Version: 1.0
  7. Content-Type: text/plain; charset="us-ascii"
  8. To: icon-group@cs.arizona.edu
  9. From: Bob Alexander <bobalex@ix.netcom.com>
  10. Subject: Re: Ordered tables
  11. Errors-To: icon-group-errors@cs.arizona.edu
  12. Status: O
  13.  
  14. Just to add another thought (this is how I *think* things work, but I didn't
  15. try it):
  16.  
  17. Sorting is done first by data type, then by order within type.
  18. Structure-types like records and lists are sorted in order of their creation
  19. (see p77,78 in the "red" Icon book).  So... if you envelope all of the
  20. table's values in the same type of record, then sort the table using one of
  21. the "sort-values-not-keys" options, you can access the keys in creation-time
  22. order.
  23.  
  24. -- Bob
  25.  
  26.